package org.dtrd.modules.patient.entity.bean.report;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.record.entity.po.DtrdEntRdSigninSuggest;

import java.util.Date;

@ApiModel("用药建议")
@Getter
@Setter
public class ReportDrugSuggest {

    @ApiModelProperty("用药建议")
    private String drugSuggest;
    @ApiModelProperty("用药建议时间")
    private Date drugSuggestTime;


    public ReportDrugSuggest parseFromDTO(DtrdEntRdSigninSuggest po) {
        setDrugSuggest(po.getSuggestContent());
        setDrugSuggestTime(po.getCreateTime());
        return this;
    }
}
